package com.sjgl.esdn.service;

import com.sjgl.esdn.domain.entity.FileBrowse;
import com.sjgl.esdn.domain.entity.FileDownload;
import com.sjgl.esdn.domain.entity.FileManagement;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.Date;
import java.util.List;

public interface FileManageService {
    List<FileManagement> showAll();

    List<FileBrowse> showAllBrowse(Long keyWord);

    List<FileDownload> showAllDownload(Long keyWord);

    List<FileManagement> fileSearch(String keyWord);

    List<FileBrowse> fileBrowse(String keyWord, Long fileId);

    List<FileDownload> fileDownload(String keyWord,Long fileId);

    int updateFileType(Long fileId, String abandonReason, Date abandonTime, Long abandonId);
}
